package top.lishuoboy.hutool.core.util;

import cn.hutool.core.util.NumberUtil;

public class NumberUtilTest {
    public static void main(String[] args) {
        // 精度损失
        System.out.println(0.1 + 0.2);
        // 精度无损失
        System.out.println(NumberUtil.add(0.1, 0.2));
    }
}
